class Solution(object):
    def minimumAbsDifference(self, arr):
        arr.sort()
        n = len(arr)
        min_val = float('inf')
        out = []
        for i in range(n - 1):
            if arr[i + 1] - arr[i] < min_val:
                min_val = arr[i + 1] - arr[i]
                out = [[arr[i], arr[i + 1]]]
            else:
                if arr[i + 1] - arr[i] == min_val:
                    out.append([arr[i], arr[i + 1]])
        return out
